Skip to content

you know 2 bug fixes with ai doesnt make it ai generated?#15

Open
SSoggyTacoMan wants to merge 130 commits intorohit1kumar:mainfrom
SSoggyTacoMan:main
Open

you know 2 bug fixes with ai doesnt make it ai generated?#15
SSoggyTacoMan wants to merge 130 commits intorohit1kumar:mainfrom
SSoggyTacoMan:main

Conversation

@SSoggyTacoMan
Copy link
Copy Markdown

first of all i fixed the share so now it isnt obsolete cuz llms can read and fetch it and second of all i added an export to document option

if it would have been dead, please archive your repo instead of bitching on other people like some kind of douche bag

https://docs.github.com/en/repositories/archiving-a-github-repository/archiving-repositories

SSoggyTacoMan and others added 30 commits March 11, 2026 18:55
- Updated .gitignore to include claude-example.html
- Revised README.md to reflect Firefox as the primary platform
- Changed app/index.html meta tags and titles for Firefox
- Updated Footer and Home components to use Globe icon and link to Firefox add-on
- Enhanced content.js to support exporting conversations in multiple formats (Markdown, Text, HTML, Word, RTF)
- Added popup.html for extension's popup interface with usage instructions
- Modified manifest.json to include clipboard permissions and popup settings
Updated installation instructions for Chrome and Firefox, removed duplicate text, and added badge for Chrome platform.
Updated download links for Firefox and added installation instructions.
…dd web accessible resources in manifest.json
Updated description to include 'export' functionality.
SSoggyTacoMan and others added 30 commits May 5, 2026 20:34
Replace string concatenation `+=` loop with `.map().join('')` in `convertToMarkdown`
for better memory efficiency and scalability.
Added strict validation for chat API payload in `app/functions/api/chats/index.js`.
Validated that the title is a valid string, and the content is a proper array of
objects. Each object must have a valid `source` ('user' or 'claude') and a string
`message`. Extracted and sanitized the input to avoid inserting extraneous or malicious
keys into the database.
Replace the redundant `.split('|').map().filter()` operations in the markdown table parser with a single-pass regex extraction `/[^|\s](?:[^|]*[^|\s])?/g` and string builder loops. This prevents unnecessary intermediate array creation and iteration, leading to significant CPU/memory improvements.
Replaced the nested loop array push strategy inside convertToDOCX with an inner .map().join('') sequence. This reduces repeated large string reallocations and provides a measured performance improvement for DOCX serialization.
…7148950842503

🧹 [code health improvement] Remove console.debug logging
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…d-api-7252307406379893356

🧪 [testing improvement] Add error path and coverage for chat retrieval API
…eation-13306378770848422367

🧪 [testing improvement description] Add test coverage for chat creation
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…alidation-9470193235942884634

🔒 Fix insufficient input validation for chat content
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…sing-10048407847359540991

⚡ Optimize markdown table parsing efficiency
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…-log-12304486679849482427

🧹 [code health] Remove left-over console.log from chat API endpoint
…ole-logs-17949073597137625155

🧹 refactor: remove left-over console.log from API routes
…-2259693742011711880

🧹 code health: remove leftover console.log
…9661571629212737

🧪 add tests for extension text excerpt utilities
…9968988521350451071

⚡ Optimize DOCX serialization with Array Mapping
Replace string concatenation `+=` loop with an array join in `convertToMarkdown`
for better memory efficiency and scalability. The header is included as the
first element of the array before joining to ensure a single contiguous allocation.
…8ab29290

🔒 Fix overly permissive CORS configuration
…1402284088016204

⚡ Optimize Markdown conversion with array map/join
This commit adds a suite of tests for the pure utility function `formatChatAsText` in `RawViewer.jsx`.

The original function handles transforming chat objects to readable text strings, but it lacked sufficient test coverage. The function is now properly exported, and four specific tests cover formatting of chat sequences, empty content arrays, missing/non-array content, and edge cases involving null messages.

Some unrelated test files (`functions/api/chats/index.test.js` and `functions/api/chats/__tests__/[id].test.js`) were updated to resolve previously existing failures/regressions to ensure `npx vitest run` evaluates to 100% success.
…ewer-17194309829571584164

🧪 Add unit tests for `formatChatAsText` in `RawViewer.jsx`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants